package com.zhihuishu.micro.course.openapi.cc.dto;

import java.io.Serializable;

/**
 * 课程分类关系
 * 
 * @author zhanglikun
 * @date 2015年10月21日 下午7:52:45
 */
public class CourseCategoryOpenDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Long courseId;

    private Integer firstId; // 一级分类ID

    private CategoryOpenDto first; // 一级

    private Integer secondId; // 二级分类ID

    private CategoryOpenDto second; // 二级

    private Integer thirdId; // 三级分类ID

    private CategoryOpenDto third; // 三级

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public CategoryOpenDto getFirst() {
        return first;
    }

    public void setFirst(CategoryOpenDto first) {
        this.first = first;
    }

    public CategoryOpenDto getSecond() {
        return second;
    }

    public void setSecond(CategoryOpenDto second) {
        this.second = second;
    }

    public CategoryOpenDto getThird() {
        return third;
    }

    public void setThird(CategoryOpenDto third) {
        this.third = third;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFirstId() {
        return firstId;
    }

    public void setFirstId(Integer firstId) {
        this.firstId = firstId;
    }

    public Integer getSecondId() {
        return secondId;
    }

    public void setSecondId(Integer secondId) {
        this.secondId = secondId;
    }

    public Integer getThirdId() {
        return thirdId;
    }

    public void setThirdId(Integer thirdId) {
        this.thirdId = thirdId;
    }

    @Override
    public String toString() {
        return "CourseCategoryOpenDto [id=" + id + ", courseId=" + courseId + ", firstId=" + firstId
                + ", first=" + first + ", secondId=" + secondId + ", second=" + second + ", thirdId="
                + thirdId + ", third=" + third + "]";
    }
    

}
